Check for logind, not for systemd

More systemd changes

https://git.gnome.org/browse/gnome-screensaver/commit/?id=fd353244020cf53ce58f4abf69a5ec7893ca1fd1