Add refresh token failure block and test with datastore api