private String buildAuthString(String username, String password) {
        return AUTH_BASIC + BaseEncoding.base64().encode((username + ":" + password).getBytes());
    }
@param username the username
@param password the password
@return a basic authentication string for the given credentials
core/src/main/java/org/testcontainers/containers/wait/strategy/HttpWaitStrategy.java