Fix bug with preferences when course title contains unicode character
Fix bug with trusted_user permissions