Implemented most barebones OAuth support ever.