Fix cancelling login

This would fail because we tried to set None and None for password and
username which GObject wouldn't accept.