Added authentication flow for GCalAPI desktop apps.