replace cookies manipulation library due to license compatibility
update cookies library usage