catch exceptions on signout (TestUtils).