- Add support for gnome-shell polkit agent. Closes #4144, #4218.