fix systemd-login1 support for hibernate/suspend

orginal patch from fedora.
http://pkgs.fedoraproject.org/cgit/mate-session-manager.git/commit/