More auth work

The app will function offline now and will use the account if
previously stored.