Heroku-friendly REST interface for handling JSON Web Tokens (JWT)