Add support for UPower

Add support for reconnecting accounts after waking up from sleep on Linux using UPower. Sadly these signal are not emitted on my system so that I can't test the code.