docs: public ResponseEntity<SimplePrincipal> authenticate(final UsernamePasswordCredential c) {
          val entity = new HttpEntity<Object>(HttpUtils.createBasicAuthHeaders(c.getUsername(), c.getPassword()));
          return restTemplate.exchange(authenticationUri, HttpMethod.POST, entity, SimplePrincipal.class);
      }