Proper login redirecting.