Added compatibility for Django 1.5's get_user_model()