Makes credential storing in configFile same as R client.