- In die_from_login_thread, displaying an error dialog is optional,
  however, until this commit, the while loop waiting for the error
  dialog to complete was run even if the error dialog had not been
  displayed.  As a result, the progress dialog didn't appear in
  subsequent attempts at running the login thread.