Fixed cookie clearing.
Simplified session.destroy.