Null Exception in System.Security.Claims

This fixed a runtime exception when trying to get a ClaimsPrincipal from
an IIdentity.