Fixed login redirects