Take CookieJar by ref in `from_cookie_jar`