Fix issue where persistent token where enable by default when the checkb...

...ox was hidden