only save changed fields for login attempts (bug 1010320)