adding HtkSocialAuthExceptionMiddleware