[refactor] open redis connection once at start and share it
[refactor] sandbox init script & authentication
 - simplify redis storage (all users keys starts with 'u:', all devices
   with 'd:')
 - rewrite sandbox init script with python & yaml confif)
 - rewrite authentication module