Added test case for expired sessions causing new sessions to be created.
Fixed permanent session gotcha.
Added stuff used to experiment with vanilla Flask sessions.