Password auto-populating in COG range reader settings [store]

Seeking some help with COG Geotiff range reader settings.

When I create a new store from a Geotiff (which happens to be a COG), I define the workspace, source name, and connection parameter to the file. eg below

If I later return to edit the store, the COG box has been checked automatically (I guess), and the Password / Secret Access Key field has been populated. I’ve never thought much of this, but if I forget to uncheck the COG box (which removes the COG config section entirely), the store modifications will successfully save, but it creates issues with “Cannot encode a password with prefix: crypt1:” errors (which we only encounter later when redeploying the server config).

Is there a way to prevent this auto-population behaviour?

Thanks in advance for your help!
Emma