Django change password issue, super(type, obj): obj must be an instance or subtype of type
Your issue is in this line:
super(UserProfileEditForm, self).__init__(data=data, *args, **kwargs)
It should be
super(PasswordChangeForm, self).__init__(data=data, *args, **kwargs)
It is probably a copy-paste issue, when you were copying from the other form.
Some more context here