Updated all API requests (with the new OAuth), except Challenges. Error handling.