Passport authentication using JSON Web Tokens