Move from using API key to userIp in making discovery requests.

Reviewed in http://codereview.appspot.com/5031048/
3 files changed