Modified LOGIN_REDIRECT_URL and LOGIN_URL.