[COOK-3674] Fix an issue where the root password is not set properly with a non-default `data_dir`

Signed-off-by: Seth Vargo <sethvargo@gmail.com>