CSHARP-986: Allow $external as a database name even though it contains a "$".