fixed authentication, username and password are no longer hardcoded (oops) but read from the users.ini. also don't crash if a key is missing in the received JSON data.

Signed-off-by: Kai Hermann <kai.uwe.hermann@gmail.com>