Fix issue where username running tests might have whitespace characters.