Hi @Novis1 !
If it was working before, the possible cause is that this router had RADIUS or TACACS authentication configured without any fallback and now the authentication server is not reachable. Try to check if the router didn't lose connection to such server. Otherwise I am afraid the only way to connect to your router in this situation is to use console port. And hope you or somebody else didn't setup RADIUS on the console as well...
If console login doesn't work as well, then you need to bypass authentication by skipping current system configuration on the next reboot through the Bootrom menu, load the old config while you are logged in and change the authentication scheme and/or login credentials. Here you can find an example of this process - https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=a00060022en_us , page 83, "Using the Skip Current System Configuration option"