code: public static AuthRequest createAuthRequest (
              Credentials creds, String version, String[] bootGroups, boolean requireSecureAuth)
      {
          return createAuthRequest(creds, version, bootGroups, requireSecureAuth, null, null);
      }
docs: Creates an auth request, secured if able, unsecured if not.