Support for tracking and adding restrictions to login sessions