Value-based replace can miss a code_verifier when an authorization code is a substring of it, which 502'd MCP token capture. Co-authored-by: Cursor <cursoragent@cursor.com>