[repoapi,session] remove all session-as-cnx backward compat [applied]