Make sure XT.username is undefined when we throw errors.