title: Update User Claim not Taking Effect. Why?
body: <p>I am using ASP.NET MVC 5.1 with Owin and Claims authentication.</p>
  
  <p>After the user changes its email I need to update the users claims, so I tried in the controller:</p>
  
  <pre><code>  ClaimsIdentity identity = (ClaimsIdentity)User.Identity;
    Claim claim = identity.FindFirst(ClaimTypes.Email);
    identity.RemoveClaim(claim);
    identity.AddClaim(new Claim(ClaimTypes.Email, newEmail));
  
    IOwinContext context = new OwinContext();
  
    context.Authentication.SignOut(DefaultAuthenticationTypes.ExternalCookie);
    context.Authentication.SignIn(identity);
  </code></pre>
  
  <p>The Claim is changed but when I refresh the page the email claims is the original again ...</p>
  
  <p>It seems the cookie is not being updated. Any idea what I am doing wrong?</p>
  
  <p>And is it possible to get the value of "IsPersistent" from the identity so when I sign it again I will have the same value?</p>
  
  <p>Thank You,</p>
  
  <p>Miguel</p>