Fix connecting to Mongo in integration tests