title: How to create a ClaimsPrincipal that has Identity.Authenticated set to true?
body: <p>I have the following method:</p>
  
  <pre><code>        protected override Task&lt;HttpResponseMessage&gt; SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
          {
              if (Composite.C1Console.Security.UserValidationFacade.IsLoggedIn())
                  SetPrincipal(request, new ClaimsPrincipal(new ClaimsIdentity(new Claim[] { new Claim(ClaimTypes.Role, "Administrator") },)));
              var test = request.GetClaimsPrincipal();
              return base.SendAsync(request, cancellationToken);
          }
  </code></pre>
  
  <p>my problem is that if i inspect the <code>test.Identity.IsAuthenticated</code> is has not been set to true. This is just some test code to figure out how. What am I missing.</p>