Cookies should be defined as an object, not an array.