Add option for secure cookies