Fix common.user test

The username was being cached from previous tests, so clear it before
running this test.
Add arg to optionally display username

This adds the option to the user segment to only display if the current
username does not match a given string or an environment variable.