Setting HostName copied Password to NewPassword
No known problems caused by this, as we probably always set HostName before the Password
(cherry picked from commit 3716db5a91a2de261776c09478f6c8dcec11995b)
Source commit: 18b814687e8b3f4c224671d85d790bd718d407bd