use fieldslib for Cookie as well

for #38