code: public Request authorize(String name, String password){
          String authString = name + ":" + password;
          System.out.println("auth string: " + authString);
          byte[] authEncBytes = Base64.encodeBase64(authString.getBytes());
          String authStringEnc = new String(authEncBytes);
          System.out.println("Base64 encoded auth string: " + authStringEnc);
          return this.authorization("Basic " + authStringEnc);
  
      }
docs: method to set authorization header after computing digest from user and pasword
  @param name  : username
  @param password : password
  @return  : Request Object with authorization header value set