Add configure method for enabling sessions, and rack flash.