Fixed wrong id when reading checkbox value for force SSL setting

Fixes #5488