Fix typo, turn cookie to string to allow regex matching