Well the problem was, that the original series was made in the 1960s and that was the attitude towards women - still very paternalistic. One has to bear that in mind when watching episodes and NOT try to retrofit them (For example - Janice Lester's inability to become a captain in Turnabout Intruder was due to sexism and it literally drove her crazy - not the other way around where being bonkers prohibited her from becoming captain).
It's a good lesson for younger viewers; showing how women were once viewed. There were always exceptions to the rule of course. But even as a kid, I both saw the treatment and had it applied to me in a lesser way ("girls can't do (whatever." Me: "Why not?" Male: "(Absolutely no reason other than to be controlling/feel superior.")
It's vexing to see it, but it was what it was.