Fix: Set cookie to disable serialization.

The cookie for "isDisabledUnserialization" would not be set.