Support automatic reauthentication

Adds initial support for showing the accounts view when any request gets a 401. This required introducing much more additional delegation to existing classes, mostly for the ability to stop the default handling of requests in the event of most types of errors encountered during the process. The client's delegation support is backed by tests that use newly introduced mocking and stubbing from OCMock.