_normalize_base_url_for_match lowercases the whole URL, so an entry edited from /TenantA/v1 to /tenanta/v1 still counted as serving the old URL: the session kept the entry's name and resumed with its new key at the old path. The requested-entry check, the endpoint-owner lookup (find_custom_provider_identity) and the managed-server check now compare through normalize_route_base_url, which folds only scheme and host case and a trailing slash, as session policies already do. Other users of _normalize_base_url_for_match are unchanged.
Reported-by: helix4u