Fixes backtrace when username is invalid when not checking passwords

* Cleaned up a debugging line
* Fixes issue-4