set a domain in Set-Cookie line (doing that will include sub-domains) or preferably: use the Netscape format.
0
Frequently Asked Questions about If you use the Set-Cookie file format and don’t specify a domain then the cookie is not sent since the domain will never match. To address this