Fix IO errors when 2 users/password combinations are found