issue #21289: Fix a multitude of problems that prevented personal privileges from working correctly.
Merge pull request #757 from jrogelstad/21289

issue #21289: Fix a multitude of problems that prevented personal privil...