Read the prefix claim via ClaimsIdentity.FindFirst instead of a three-part ternary over the claims dictionary, and drop the XML summary.
Read the prefix claim via ClaimsIdentity.FindFirst instead of a three-part ternary over the claims dictionary, and drop the XML summary.