Fix various issues with the add person form.

Worst bug was initial password not being saved correctly.

Change-Id: Ia818e4cdb446043ed8650e8df825f444343dcc88