Read the authorization code using a mock service