Make Django's contrib.auth tests work

Non-hashed usernames and fetching by usernames still work, if the program
does everything through the standard User model. This makes Django's
built-in contrib.auth tests function.
Merge pull request #41 from ecometrica/django-tests

Make Django's contrib.auth tests work