Moved authentication over to OAuth tokens.

Moved authentication system over to OAuth tokens.  Thanks must be given to Conrad Irwin.