fix cookie life time with not session exp. time