Switch to MongoDB URI connection