I got the speech option after returning from the dwarven halls with the message from Rimmer's brother, and getting the ale from Rimmer as a reward. I dropped the ale off in a chest, talked to the mayor and got the password. Some people have done this and not gotten the password. Not sure why the mayor is uncooperative for some, but you don't really need the password, so it's not a big deal.