Bug fix - invalid username throws error.