Added sex to patient filters.
Cleanup from prior commit.
Minor update to login behavior.