/okconfig/edittemplate - Fix register checkbox

Previously the 'register' checkbox would make the configuration be written
as register=True instead of register=1 in some browser.

True/False now converted to 1/0