Solved issues with relogin and pryv of events (pryv.in was used instead of pryv.io).