Use the fact that the database returns the longest matching part of the requested name to find the required NSEC3 record. If there are multiple versions present in the database we may have to search further.
Closes #4460
Merge branch '4460-auth-nsec3-many-labels' into 'main'