Sanitizing username to prevent invalid email

In certain locales (e.g. nl_NL), special characters are used in names such as ç; when using these characters for generating email addresses, this will result in an invalid email address, which causes tests in my case to fail.