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