Fix: cookies set with phantom or webpage were not visible in document.cookie