Import tails-greeter's feature/15653-15656-greeter-unlock branch at commit f434c12 (refs: #15653, #15656).