Implement a lot of passport.js authentification stuff.