override setup_session method to support custome session management
Edit setup_sessions in application_setup.rb

*Indentation should be 2 space.
*The argument of super method is not needed.
*Drop if sessions condition
Merge pull request #1663 from cookiebody/master

override setup_session method to support custom session management