Update ClaimsIdentity.cs

Removed needless allocation in favor of skipping the loop.