revert changes on passport.js