Fix unexpeted ARGF reads when prompting to input access code