Login/Timeout check for scanner scans and clear screen if the input is
from scanner.