Compute access duration or unregdate in 802.1x connection