Update slave config to allow for multiple slaves

Fixes issue where the `/root/grant-slaves.sql` would only run on the first slave host due to overlapping namespace.

Moved `grant-slave` out of the slave grant loop.