Example of local and social authentication with Passport.js.