Read credentials from auth.cfg; function to connect the slaves to the master added.