Bug fix in User::password().
Implemented feature #119.