Fixed change password method to update password

After a server change password is done, the test wasnt able to ssh
into the server as the server object dint have the new password.
Made this change to update the server password

Change-Id: I6baef0e9d420f37970feb50cbc859075617ffdde
Merge "Fixed change password method to update password"