Minor cleanup

- Added doxygen output directory to `.gitignore`
- Removed unneeded `Qt::escape`
- Moved token sending functionality to `ServerHandler`
- Removed the use of `g.uiSession` from `ServerHandler`