Add sample json file
Use config file for all authentication

Previously not using config file parameters for outgoing authentication
Merge branch 'master' into production