Implement configuration file

Switch to using a JSON configuration file to store authentication information (for now, can add other configuration later) rather than specifying on the command line.