Set mongo-url rather than individual connection parameters (LP #14365668)

Fixes use of MONGODB_URI that contains multiple hosts in a replica set.