[SECURITY-54] Do not keep appending ?encrypt=true for each retry attempt when using -secret.