Update production settings for deployment.
Add SocialAuthExceptionMiddleware. And set SOCIAL_AUTH_LOGIN_ERROR_URL to '/'.