Possible fix for password not being saved properly

It seems serialization of the checkboxes in a form is not returned
as a bool but in string form as 'true' and 'false'.