Unsecure configuration is unfortunatelly not solution aware, so for each environment to which you deploy the solution you must re-enter the unsecure configuration manually.
You can change it in CRM Online/OnPrem by using the Plugin Registration Tool, navigate to the step you need and edit the secure configuration there.
Gonzalo | gonzaloruizcrm.blogspot.com