Add test for fetching data as authenticated user