replace hacky timeout guess with WinWaitActive for auto-logins