Add preparation for provider (bug 942361)

because we're in a single page app I'm not sure that we need to block on provider log out. Do we? It would be nice to let it happen async but we don't want the user to proceed in a non-logged out state so maybe it's still better to block.