Extract out passportJS auth