Added samples for authenticating using OAuth and an API key.