Compress cookie value (bug 899839)

This cuts cookie size in half.