Added credential cache timeout