Updated set_cookie to use options[:domain] if set, not to override with auto generated domain