Add test for authenticated user