Add support for authentication through config file.