Changed JSON parsing to properly take into account special characters.
Password is now displayed on screen instead of in alert.