enable passing credentials