Properly send an error back on invalid username.