CookieJar doesn't properly handle multiple matching cookies with the same name, close #1732