bug fix where api version for session endpoint was incorrect