Fix login / logout bug.
Merge pull request #298 from karma-exchange-org/ui-improv-12-14_p3

Fix login / logout bug.