Revert "fixes #2484 - host and hostgroup root passwords are not saving"

This reverts commit 2193afa0e33e939739a53d2918cb2e31ee92ac7a.

merged by mistake