Move the creation of the targetLocator below the tests for started etc.
(Otherwise the locator would be left open)
https://bugzilla.redhat.com/show_bug.cgi?id=899989 Cluster user/password fail authentication.