conditional MONGO connection parameters