sdk needs to be able to set cookies too