Compress cookie value (bug 898214)

This cuts cookie size in half.