Plug for JWT authentication