use passed in config instead of default config. This is to fix config inconsistency between newly created client's config and client's provider's config
Merge pull request #520 from twu8/master

use passed in config instead of default config. This is to fix config in...