Fix missing conditional for registering `on_remove_user_third_party_identifier` module api callbacks (#15227