CDRIVER-485: Invalid read on authentication failure