fixes #171. make sure we sent to API key for both the submit and the sea...

...rch API.