title: SignalR Context.User.Name returns empty
body: <p>Whenever I try to access <code>Context.User.Identity</code> from a <code>Hub</code>, the user details are always empty. </p>
  
  <p><strong>Note:</strong> Context.User does <strong>not</strong> return null, the properties are just empty:</p>
  
  <p><a href="https://i.stack.imgur.com/JshKv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JshKv.png" alt="empty properties"></a></p>
  
  <p>I've taken a look at a multitude of questions on SO similar to this, but all of them seem to be asking why the <code>Context.User</code> is <code>null</code>, and the answer is to move <code>app.MapSignalR();</code> below <code>ConfigureAuth();</code>, as I have done:</p>
  
  <pre><code>    public void Configuration(IAppBuilder app)
      {
          ConfigureAuth(app);
          app.MapSignalR();
      }
  </code></pre>
  
  <p>The <code>HttpContext.Current.User</code> also returns empty, but again, only from within a <code>Hub</code>. If I call it from any other <code>Controller</code>, I get the currently logged in user details.</p>
  
  <p>Finally, I also find it disturbing that <code>HttpContext.Current.User.IsAuthenticated</code> is <code>false</code>, yet the user can still access the function. (See the <code>Authorize</code> attribute in the screenshot above.)</p>
  
  <p>Is anybody able to shed some light as to why my user is empty?</p>
  
  <p>All help is greatly appreciated.</p>