Login and Logout do not redirect to homepage.

Fixes #122