feat(mcp): harden oauth client registration according to latest protocol (#19043)