t2248: Improve error handling during OIDC token validation