read authentication from config file