Fixed passport.js to allow local authication