Add test to use returned token for authenticated retrieval