Hide error window if login succeeds, fixes #764 (linux)