I have an AWS Appsync API set up and I\'m using Lambda resolvers to access a mongodb database. I want to be able to set cookie headers from the server side (lambda) and then pas