fix tests: use email instead of username