Fixed CookieJar to use Iterable instead of list