fix serialization of phone auth requests