Adds tests for managing API keys via the API.