use default values for "domain", "path" and "expires" only if they wasn't set manually (not None)