Messing about with cookies

Signed-off-by: David Hughes <david.hughes125@gmail.com>