Smoke tests for REST apiKey functionality

* Code originally developed by Neha Chriss
Add Clojure generated folders to .gitignore
Issue #256 - Refactors initial code and adds test for REST api

* Refactor the initial code
* 2nd implementation on how to make authenticated requests

* TODO: The secret should be based on the config repository
 Please enter the commit message for your changes. Lines starting