Fixed bug in login page that caused it to redirect to sign up page.