ISPN-4502 Fix test faillures due to resolving 127.0.0.1 to localhost.loc...

...aldomain

https://issues.jboss.org/browse/ISPN-4502