Changed from URL credentials to HttpClientUtil.setBasicAuth().