Allow token_credential_url to be set to a Hash

I fixed the issues from my original PR #31

The same fix as in c3efb8b, but for token_credential_uri. See google/google-api-ruby-client#90