Add additional parameters for admin commands.

- Add additional parameters to: masks, addmask, delmask, logout.
- Add a new reset password command.
- Fix some missing error handling.
- Fix up a test in user_access.
- Add a ResetPassword method to UserAccess.
- Add data package initialization for math/rand.