Provide a credential config switch for moving between dev environments and production environments

This relates to both of the below issues: