Added tests for different AUTH_USER_MODEL settings.

Also added some tests for the UserChangeForm, the UserAdmin and the
UserManager.