Ensure the ApiKeys test restores the original state of the keys file after it executes, as otherwise it can cause other tests to fail

git-svn-id: https://svn.apache.org/repos/asf/wookie/trunk@1576636 13f79535-47bb-0310-9956-ffa450edef68