Authentication Failure/ Configuration Error on boot

I’m trying to build VyOS ISO on docker as mentioned here

I’m running the following command
docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:current bash

Post this I generate to build an AMI following these instructions :

sudo make AWS

I do this in place of sudo make iso so the ami is EC2 compatible.

However, when I deploy the AMI to EC2 , I get this error while Vyos boots up:

vyos-config[1671]: Configuration Error
Welcome to vyos -ip-30-0-48-10 tty1
ip-30-0-48-10 login:user (automatic login)

Authentication failure.

All of this works for the vyos 1.2 crux. But fails for sagitta. Any pointers on how to debug or fix this ?