Silence loginctl errors when iterating over sessions.

This avoid useless warnings when iterating over sessions that don't have an
username associated (login managers).