JSON deserialization and password/username caching.