cacheword: simplify logic and handle unencrypted properly

fixes #1851
cacheword: lose cacheword and DB keys on signOutAll
Merge branch 'upstream' into word
cacheword: don't show LockScreen on signOutAll and unencrypted
Merge pull request #298 from devrandom/word

cacheword: simplify logic and handle unencrypted properly