Fix busy UI thread on login