Fix getting of username with Django 1.5

In Django 1.5 is username field [defined by USERNAME_FIELD](https://docs.djangoproject.com/en/1.5/topics/auth/customizing/#django.contrib.auth.models.AbstractBaseUser), so you can change it, for example, to e-mail. This pull request use this (but for backward compatibility is used property username first, of course.)