title: WebApi with OWIN SelfHost and Windows Authentication
body: <p>I have a console application SERVER that hosts WebApi controllers using OWIN self-hosting, and runs under a custom account named "ServiceTest1".</p>
  
  <p>In the same machine I have another console application CLIENT that runs under the account "ServiceTest2", and I want to capture in SERVER that "ServiceTest2" invoked a controller action. However:</p>
  
  <ul>
  <li><code>WindowsIdentity.GetCurrent()</code> is always "ServiceTest1".</li>
  <li><code>Thread.CurrentPrincipal</code> is an unauthenticated <code>GenericIdentity</code>.</li>
  <li><code>RequestContext.Principal</code> is null.</li>
  <li><code>User</code> is null.</li>
  </ul>
  
  <p>What do I need to make this WebApi OWIN self-hosted to grab the Windows identity of the caller?</p>