Copy the default params dict to avoid race

The params dict passed to get_default_credentials should be
copied from DEFAULT_PARAMS, otherwise a race may happen during
unit tests which causes the wrong params to be passed in.

Closes-bug: #1431408
Change-Id: Ib58c74de0b846f6b5629067866247cfad9a63a83
1 file changed