docs: private void doFormLogin(FormAuthInfo authInfo) {
          logger.info("FORM authentication for: {}", authInfo.getLoginTarget());
          String fullUri =
                  authInfo.getProtocol() + "://" + authInfo.getHost() + ":" + authInfo.getPort() +
                          authInfo.getLoginTarget();
          HttpPost httpPost = new HttpPost(fullUri);
          List<NameValuePair> formParams = new ArrayList<>();
          formParams.add(
                  new BasicNameValuePair(authInfo.getUsernameFormStr(), authInfo.getUsername()));
          formParams.add(
                  new BasicNameValuePair(authInfo.getPasswordFormStr(), authInfo.getPassword()));
          UrlEncodedFormEntity entity = new UrlEncodedFormEntity(formParams, StandardCharsets.UTF_8);
          httpPost.setEntity(entity);
  
          try {
              httpClient.execute(httpPost);
              logger.debug("Successfully request to login in with user: {} to: {}", authInfo.getUsername(),
                      authInfo.getHost());
          } catch (ClientProtocolException e) {
              logger.error("While trying to login to: {} - Client protocol not supported",
                      authInfo.getHost(), e);
          } catch (IOException e) {
              logger.error("While trying to login to: {} - Error making request", authInfo.getHost(),
                      e);
          }
      }