title: Claim change in Identity Server's ProfileService is not reflected in Authentication Cookie
body: <p>Using ASP.NET Core 3.1 and Identity Server 4 I am starting the login process from a SPA.</p>
  <p>After I login I have the following claims on IS4 app authentication cookie:</p>
  <pre><code>sub                              1
  AspNet.Identity.SecurityStamp    RRHNY65RQMUHTXXSIZKT2YORA3QQ2WAC
  role                             Admin
  preferred_username               info@example.com
  name                             info@example.com
  email                            info@example.com
  email_verified                   true
  amr                              pwd
  idp                              local
  auth_time                        1598736198
  </code></pre>
  <p>Why does the <code>name</code> claim gets the email as its value?</p>
  <p>I then implemented the ProfileService to replace the <code>name</code> claim by the actual user name.</p>
  <p>When I check the claims on the spa the replacement was done ...</p>
  <p>But on IS4 application the Authentication Cookie still gets the email as <code>name</code> claim.</p>
  <p>Why?</p>