update private/public checkbox handling code to allow wmts too
Merge pull request #1156 from camptocamp/wmts_private_mode_part2

update private/public checkbox handling code to allow wmts too