Close the modal from the worker, reporting the final outcome.
Dismiss is deferred by 0.6s so the user sees the final status before the modal disappears.
True when login succeeded; drives the dismiss value.
Optional final status line shown before close.