[server] refactor server.utils.manager_userpasswd
- remove passwd parameter which was never used
- make the function usable when we have a login and want the user
to enter a new password, with confirmation
"""this contains the cube-specific entities' classes"""