Refactored the session controller code.
Added an account model.
Refactored cipher secret as first class setting instead of per account setting.
Fixed session authorization form so that account options are included.