Fix LOGIN_URL and LOGIN_REDIRECT_URL settings