md5 the cookies to avoid illegal characters