Fixed cookie issues.