lslogins: make it work

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>