Fix MongoDB transport connection string and options handling