CSHARP-1013: Support multiple credentials for backward compatibility.