Sexually harassed by postdoc supervisor and forced to quit
There are a lot of bad actors out there, of course, but not everyone. Your therapist can probably give you better advice on dealing with the future than you will get here. 

But I'm surprised that you haven't raised the roof at the former institute, and/or consulted a lawyer. Reputable institutes and universities have offices that are supposed to deal effectively with these things. I don't know whether you still have access to them after resigning, but a lawyer is worth consulting here to give you the peace of mind that comes from fighting back against such improper, even likely illegal, behavior. 

The perpetrator of these transgressions has no business being in the profession.  It was, among other things, an abuse of authority as well as common decency. 

I can't recommend that you fight it, as you know the overall situation better than I do. Your own health is more important than any fight. So your therapist should be your first source of advice on this. But you can explore a fight for vindication with the therapist.