title: Call to acquireToken fails with "Set-Cookie header is ignored in response from url... Cookie length should be less than or equal to 4096 characters
body: <p>In my code I successfully call authenticationContext.login() to authenticate the user. A few lines later I call authenticationContext.acquireToken(...). The call to acquireToken fails with the message "Set-Cookie header is ignored in response from url... Cookie length should be less than or equal to 4096 characters"</p>
  
  <p>Two requests are performed, one to get the id_token and the other to get an access_token, in both cases the http response contains a series of Set-Cookie headers:</p>
  
  <ul>
  <li>Set-Cookie: AADSSO=; expires=somedate; path=/; secure; HttpOnly</li>
  <li>Set-Cookie: ESTSAUTHPERSISTENT=&lt;<strong>760 chars</strong>>; domain=somedomain; expires=somedate; path=/; secure; HttpOnly</li>
  <li>Set-Cookie: ESTSAUTH=&lt;<strong>160 chars</strong>>; domain=somedomain; path=/; secure; HttpOnly</li>
  <li>Set-Cookie: ESTSAUTHLIGHT=&lt;<strong>37 chars</strong>>; path=/; secure</li>
  <li>Set-Cookie: ESTSSC=00; path=/; secure; HttpOnly</li>
  <li>Set-Cookie: buid=&lt;<strong>206 chars</strong>>; expires=somedate GMT; path=/; secure; HttpOnly</li>
  <li>Set-Cookie: x-ms-sts-inner=1; expires=somedate; path=/; secure; HttpOnly</li>
  <li>Set-Cookie: SignInStateCookie=&lt;<strong>2000 chars</strong>>; path=/; secure; HttpOnly</li>
  <li>Set-Cookie: SignInStateCookie1=&lt;<strong>1220 chars</strong>>; domain=.somedomain; path=/; secure; HttpOnly</li>
  <li>Set-Cookie: x-ms-gateway-slice=estsfirst; path=/; secure; HttpOnly</li>
  <li>Set-Cookie: stsservicecookie=estsfirst; path=/; secure; HttpOnly</li>
  </ul>
  
  <p>The second request fails, presumably due to the large amount of cookies already present from the first call.</p>
  
  <p>How can I fix this issue?
  Thanks</p>