Added serialization of SecurityToken with Handler