Fixed wrong id when reading checkbox value for force SSL setting

Fixes #5488

Please review, it's a quick one!

@karlitschek @schiesbn @DeepDiver1975 @bantu