As I see it is used to unset a cookie so it should not depend on session lifetime. Turn it into nice COOKIE_INVALIDATION_TIMESHIFT constant maybe?