Use `localhost` as the target URL for test

 This replaces the previous look up to `RuntimeUtils.getHost()`. The latter has been noticed to cause issues on systems where the result points to an interface to which embedded Tomcat doesn't bind, causing a ConnectException.