passport.js: provide the verify function for local and twitter strategies