Added (broken) persistent cookie support
More work on persistent cookies