Adding splunk nx-api authentication specific classes

For Splunk Rest API Modular Input - Save the nxapi_auth cookie to a
file in a temporary directory using a customer respone handler and send
it to the switch in a custom auth handler.  These are examples of one
way to do this.