@Test
public void testMaybeAppendAuthHeaderWithoutCredentials() throws URISyntaxException {

    Request request = mock(Request.class);
    URI uri = new URI("http://127.0.0.1:8080/content");
    service.maybeAppendAuthHeader(uri, request);
    verify(request, never()).header(any(HttpHeader.class), anyString());
}