Fixing authentication cookie options