Problem
when users are browsing to some sites using cookies the cookies get lost or ignored through Squid proxy.
Solution
Add to /etc/squid.conf (or /etc/squid/squid.conf):
request_header_access Cookie allow all
And restart your squid:
systemctl restart squid