fix error thrown during account information editing when password fields are left blank