Fix bug 1071765 - Catch error where username is not found