api/v0/sessions{,_test}: add GetSession and accompanying tests, for fetching all information for an authenticated session