Issue #3591406 - JWT authentication fails with invalid_client_id after the 5.1.3-beta2 OAuth refactor
Closes #3591406