Fix upgrade admin password failed issue.

Change-Id: I60635e47c3f9711edd5db39e3f1e0c5726255bbf
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1017490
Signed-off-by: hadong <hadong0720@gmail.com>