If you used an old AMI as the basis for your images, that option used to be changed by the kickstart file, but as far as I know that option was removed some time ago.
These days the AMI is most likely configured by cloud-init and if that is the case you should find and change the ssh_pwauth
option in /etc/cloud/cloud.cfg