Use user.get_username() instead of user.username

To support custom User models.
Now it breaks if User model doesn't have `username` field.

Custom User models was introduced in Django 1.5 release but I see 1.4 in `.travis.yml`.
Do we need to support Django 1.4?