Fix: 'password' property is not exported by to_array() when defined.