title: Remove Cookies in Worklight Adapter : multiple sessions using same adapter based authentication
body: <p>I am using Worklight Adapters and using Authentication based adapter, which verify credential via a third party webservice (grails server).</p>
  
  <p>When testing with one user, every thing is fine, but once I start using multiple users accounts, I found that all users connect to the same session, with the same Cookie JSESSIONID</p>
  
  <p>I think worklight adapter is adding cookies from previous requests, and that's equivalent to a browser connecting to différent accounts, without removing old cookies / logging out.</p>
  
  <p>When debugging, I can see that I have in the authentication request response headers, when the first user login:</p>
  
  <pre><code>"Set-Cookie":"JSESSIONID=63850CB333E7C279DC6D5B1D973B21E7; Path=/"
  </code></pre>
  
  <p>and when the second user login, there is no longer "Set-Cookie" header in the response.</p>
  
  <p>Anyone have a solution, or workarounds ?</p>
  
  <p>How can I force worklight to remove existing cookies when connecting to the authentication webserver ?</p>