code: public static Expectations getResponseTextExpectationsForJwtCookie(String testAction, String jwtCookieName, String username) {
          Expectations expectations = new Expectations();
          expectations.addExpectations(responseTextIncludesCookie(testAction, jwtCookieName));
          expectations.addExpectations(responseTextIncludesCookieNameFromApi(testAction, jwtCookieName));
          expectations.addExpectations(responseTextIncludesExpectedRemoteUser(testAction, username));
          expectations.addExpectations(responseTextIncludesJwtPrincipal(testAction));
          expectations.addExpectations(responseTextIncludesExpectedAccessId(testAction, JwtFatConstants.BASIC_REALM, username));
          return expectations;
      }
docs: Sets expectations that will check:
  <ol>
  <li>Response text includes a JWT SSO cookie
  <li>Response text includes expected remote user
  <li>Subject principal includes an appropriate JWT
  <li>Subject public credentials include appropriate access ID
  </ol>