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.
Merge pull request #1252 from clebertsuconic/francisco-master

https://bugzilla.redhat.com/show_bug.cgi?id=899989 - cluster user/password