[session] remove session-related bw compat code [applied]