public static CallContext register(String callingUserUuid, String callingAccountUuid) {
    Account account = s_entityMgr.findByUuid(Account.class, callingAccountUuid);
    if (account == null) {
      throw new CloudAuthenticationException("The account is no longer current.")
          .add(Account.class, callingAccountUuid);
    }

    User user = s_entityMgr.findByUuid(User.class, callingUserUuid);
    if (user == null) {
      throw new CloudAuthenticationException("The user is no longer current.")
          .add(User.class, callingUserUuid);
    }
    return register(user, account);
  }