server: Track desktop users per thread instead of per process.