Fixed bug in CookieBuilder