Expose agent on supertest and cookie methods on superagent

Adding the agent function to supertest and exposing the cookie methods on superagent to enable testing paths requiring authentication in supertest.