Read authentication data from json file.