set domain for cookies to use base domain