KAZOO-2991: only flush when device credentials change