Fix accounts-entry redirect bug