Usergetter binding bug & Added test for bad user credentials

`UserBinding.get` wasn't checking if user is None. Added in tests for this bug.

I also changed `usergetter` to query the database for the given `username` instead of just returning the first record.