Fixed login url redirection