Add session counter to mitigate devices lacking RTCs (e.g. Beaglebone).