Which password is being asked? The password for the antivirus providers and settings?
Or, on contrary, you're talking about the Registration Key that is sent by email?
Can't you uninstall avast, boot, install it again, boot and use the new Registration Key you've bought?