Fix AuthState serialization maybe