Don't try to set the wrong value for cookie policy

The builder template system wants us to to use underscores for
the widget names but the gsettings values for these widgets
use dashes. So, translate between then in the mapping functions.