The email used during registration is sufficient. If you don't have email then username+password.
If they don't have that they don't get access to data. They need to be able to prove who they are and reasonably that is the same information that is used during registration.
Then the user will be authenticated by the court, and you will have to make your case that without the court's intervention, you could not be certain of the requester's identity.
This isn't black and white. It is legally ok to question the validity of GDPR data subject requests.
If they don't have that they don't get access to data. They need to be able to prove who they are and reasonably that is the same information that is used during registration.
If password is lost then tough luck.