settings.LOGIN_URL must be resolved