Refactor/cleanup for change password tests

* Added skip for tests based on hypervisor
* Fixed pep8 issues

Change-Id: I77f1f2a55d11d0fe907616d34ba61044acbe58c8