[FEATURE] Login: Show login form without redirecting to login page

This saves the client from some redirections, and also fixes the problem where
if you come to the client from other website, browser back button doesn't take
you back to the website.