Fix intermittent failures in tests due to not ensuring signing in has completed

This fixes some of the current intermittent failures we have. The basic issue is that we weren't allowing/waiting for signing in to be completed before asserting the next check or doing the next action.

There's one more fairly frequent failure that I know of remaining, but this should resolve the most frequent ones that we're seeing. The remaining one needs a bit more thinking about what is actually happening.