fix(test): check that signin is complete before proceeding

Just need to wait until signin is complete; otherwise, loading the next page too early would result in an error and test failure.