Boot it in password recovery mode and go back to a good known configuration,
A tip when working with auth is to never save the config until you know it works then you can simply power cycle it to recover and if doing it remotely schedule a reboot that you cancel when it works that way you always have a fix available