Getting a WindowsIdentity is failing with Incorrect function

...at Hisco.Intranet.LoginForm.OnInit(EventAr...