docs: public Optional<String> authenticate(String token) {
      String tokenHash = tokenGenerator.hash(token);
      try (DbSession dbSession = dbClient.openSession(false)) {
        UserTokenDto userToken = dbClient.userTokenDao().selectByTokenHash(dbSession, tokenHash);
        if (userToken == null) {
          return empty();
        }
        userLastConnectionDatesUpdater.updateLastConnectionDateIfNeeded(userToken);
        return of(userToken.getUserUuid());
      }
    }