Update AuthenticationHandler.cs

If the principal has no claim for NameIdentifier the code fails because principal.FindFirst(ClaimTypes.NameIdentifier) equates to null and null has no value property. This same logic error happens in the next branch with "sub".
Merge pull request #10 from zlangner/patch-1

Update AuthenticationHandler.cs