Implemented passport.js support for authentication, sessions and password
hashing