MDL-37812 tool_uploaduser: apply default values for user preferences
MDL-37812 user: apply default values for user preferences when creating user