API Gateway: Cookies with special characters cause an exception