Do not run tasks using doAs when Hadoop secutity is not turned on

Signed-off-by: Yinan Li <liyinan926@gmail.com>