Adds a JWT-based bearer token middleware