OAuth2 provider with node.js and mongodb as backend