Fix accounts getting wiped on login?