KAuth integration in document saving - vol. 2 - various security improvements
Differential Revision: https://phabricator.kde.org/D5394