Get mongo connection string from environment variables first from process and then from machine.