Rewrote the OAuth lib to remove ARC warnings, stripped it of the unused bits