UsersController: improve random password control flow; cleanup

The removed methods are unused.
Small fixes after code review