Thanks, Dmitriy.
I completely agree that sensitive information should not be sent via user-data. However, the point is that if we expire the password by sending it like this:
chpasswd: { expire: True }
The password shown in the metadata becomes invalid, and the new password is not displayed there.