AmsTool.exe has to be started with the parameter below, to have Reset password button visible back again:
C:\Program Files\AVAST Software\Enterprise Administration\AmsTool.exe /pwdreset
or
C:\Program Files\AVAST Software\Enterprise Administration\AmsTool.exe –pwdreset