Add missing dependencies

This commit adds dependencies to ensure
that the user is not added before the
mysql.conf file and that grants should
be applied after the user is created.

This is intended to fix issues where the
monitor user was created without a password
assigned.