When is details null in an UNAUTHENTICATED error?
When nothing was presented at all: a browser-only operation was called
without a live session cookie, or /mcp or GET /v1/credential was called
without a bearer token. The message is "Authentication required".