Integration test to test authToken workflow