Fix Authentication

When making the changes to get rid of mongo, I didn't realize that cookies were not being unset properly on logout. As a result, things appeared to work because the old cookies were set, when they wouldn't actually work if you started fresh. This fixes that problem.