Move get_password methods to cache class.