Check the proper keys with ensureKey

Ensure the key that’s actually sent in the request for each endpoint,
and what the error output says. It looks like 8dfcf2e06369 was a case
of copypasta before coffee :-)
Merge pull request #19 from ches/fix-ensureKey-logic

Check the proper keys with ensureKey