Added functional test to get user from authorized client