Add support for OAuth logins

Addresses #40.  Changes add the ability to log into ArcGIS Online and Portal for ArcGIS instances using OAuth.