Authentication caching and password changes