ResolveOAuth prefers discovery, falling back to /oauth/* so backends
that serve no metadata document keep working. Transient discovery failures
are returned rather than masked, because the fallback would post credentials
to an endpoint the deployment may not serve.