Scan produces credential errors, but the credentials used are correct