Changed representation of cookies to use salted hash