users: support for multiple types of privileges.
ssl: small fix to the pub key permissions.
Merge branch 'users_simple'