Fixes bugs missing session keyword and cassandra ordered dict

Change-Id: Iee21d2e136752af2597b839857ea66697031d030