Set USERNAME env var manually in test suite

This works around a known issue in GitPython when the USERNAME
environment variable is missing.