Oauth integration.

Getting ready for enauth.py - oauth integration.