It's pandering when they do it not because it enhances the story or represents the movie accurately, but just to say "Oh look, we represented this group!"
There are no issues with that because that's who was on the team at the time. The women were not the only people on the team at the time. It was out of place and took me out of the movie. The issue with pandering like that is it is political in nature. Am I against more female characters and stories? Of course not - I loved the Wonder Woman and Captain Marvel movies. But that's because they focused on telling a good story first rather than hitting you over the head with a political agenda.
TL;DR - Please separate politics and movies. I may even agree with your politics (I'm certainly not a sexist or racist of any kind, I can give you my voting records and discuss my political history if you want), but fictional movies are supposed to be an escape from real life, not a platform to voice political opinions.