Switch AUTHCODE to be an external config prop.