Resetting the password of a specific user's password for the web UI can be done from the console_setup menu. You open up the console menu by executing
from a shell.
Inside the console setup menu, there's a hidden option which can be accessed by entering A as your choice.
There, you will be presented with a few more options, one of them being Reset web user password.