Typing the windows auth hook to IPrincipal to make testing easier