OC-9596 Succesfully run the integration tests on jenkins for knife-openstack(based on knife-cloud)

Fixed bugs found in Integration tests.
PBI ref: https://tickets.corp.opscode.com/browse/OC-9596.
@adamedx Please review the changes. Thank You.