Hookup reset flow (bug 1003882) 

~~TODO: Add the rest of the tests + clean-up.~~
A name describing this would be nice. `defLoggedOut` or something.