Now that MongoCredential.Mechanism can be null (in order to default it), we need to ensure it's not null everwhere.