Most of the AMI's do not use passwords on their root user that I've noticed. The best you can do is to detach your EBS file system and mount it on another instance so that you can go in and fix the authorized_keys files or /etc/users or whatever is appropriate to resolve your problem. Once it is fixed, you can unmount and detach it, then reattach it to your old instance so that it mounts as / again.