Make a test more resilient against the host system

If the host system had $HOME/.cargo/config which configured a user name/email
then this test would fail because those would be prioritized over $USER.

Closes #514
Yeah it's definitely a possibility, but I suppose I'm just assuming that's more rare than having `$HOME/.cargo/config`