function setupPasswordAuth() {
  passport.use(
    new LocalStrategy(
      {
        usernameField: 'email',