User session management for Flask. (This is a mirror of the BitBucket repo, please make changes here.)