use WindowsIdentity.GetCurrent for header

fixes #2031