Fixed a problem where you couldn't set a cookie after you had removed another one. The problem is that we shouldn't modify the expiry field of the shared cookie object. Now we simply set the expiry date of the removed cookie without touching the cookie object itself.