Example of a Next.js application with api routes that enable passport.js authentication and cookie sessions.