am 151f3c15: Merge "Cache whether a password/pattern is set." into lmp-preview-dev

* commit '151f3c15cb909058a7d77faec44520439a2db4ca':
  Cache whether a password/pattern is set.