Don't construct the redirect url manually, use redirect_to_login