use timeout from ADAuthenticationSettings.

use timeout from ADAuthenticationSettings.