Use configuration file to load credentials.