one way is to use bootrom for the fallowing actions:
1. download saved configuration file on your host
2. modify the file and remove authentication from line console 0
3. then upload back on device
4. and reboot with the new saved configuration as startup configuration.