Test code: set cookie headers