diclient/sessions: add GetSession, use for AuthenticateSession method