Copy variables dict before scrubbing secrets.

This dict is the actual variables dict. Changing its members will directly
change the values of the current object. The __repr__ function overwrites both
secrets with stars.
Merge pull request #252 from teeberg/master

Copy variables dict before scrubbing secrets.