Properly display errors in login dialog boxes.

Change-Id: I6f4e26add46b5a5e606e176d40442137a3d781a7
Rename user to person.

Change-Id: Icd657a1d147317e920da9e03a3a9e8d2b3deec0c