fix cookie lifetime settings