ESP8266WebServer cookie save problem

Hi, the first "Set-Cookie" was a typo, in the code it is there only once. I removed the trailing semicolon, but it still don't save the cookie. I allow 3rd party cookies in the smartphone settings as well.