Node.js OAuth2 provider as a connect middleware