Fix logon checks.