OAuth infrastructure

Added classes to process OAuth requests and workflow for preliminary
OAuth v1a authentication.