add query for IdentityError in test_rescope_token

722 hits in 7 days, check and gate, all failures.

Change-Id: I2f08a986b4a10e6315e499e99215e07dede694c1
Related-Bug: #1351026