Remove use of for ... in loop on client_states iteration.

The reason behind this is that EmberJS adds some sugar onto Arrays
and as a result, it's painful to iterate over arrays using the
for .. in style. I wish this wasn't the case, but I have to do this
in order to use the SDK with EmberJS.
Use my OAuthD instance.