Error handling for 401 on Pocket and Twitter APIs.