Fixed #14881 -- Modified password reset to work with a non-integer UserModel.pk.