pass a reference to the salt to args_to_config()

otherwise we won't get a salt back even when we ask for it
test that the args_to_config() function returns the salt