Login WIP.   Async bug fixes.