This is a weird one but I noticed on "main" that if you specify anything in PatronSelfRegistrationBorrowerUnwantedField it will hide "categorycode" and "dateexpiry". This can break the self-registration if you don't just rely on PatronSelfRegistrationDefaultCategory or add categorycode to PatronSelfRegistrationBorrowerMandatoryField Very weird.