Typecasting to boolean rather using boolval()

Currently it uses boolbal() which was not present in PHP 5.3
Checkbox were unselected after deleting an account
Merge pull request #108 from VarunAgw/settings-page

Prevent SSL checkboxes from being de-selected after deleting an account.