Add method which accepts block that is executed upon token refresh failure.  Add tests for datastore api and core data async save/fetch methods.