PLINK-344: use domain name if available for the cookie as well as cookie...

... expiry