Fixes issue with usernames not showing up when using a custom user model in Django 1.5;