Fix admin account editing (issue #4215)