Fix template with sql server fails due to secure string value not being ...

...sent over the wire