fix exception in get_all_logins when user has no authorized_keys