enhance cookie helper for specify domain