Fixes regarding changes in new PolicyKit

And a bit more