A new survey shows half of female politicians are questioning their ongoing careers while three-quarters believe online abuse has increased in the past two years.