Try to scope token for all available projects

When scoping fails on the first project, continue trying until
a scoped token can be acquired.

Change-Id: I2827595423d5be0f5be9a24eded2a63ab7771ca7
Fixes: bug 1212748