Do not issue duplicated changes in the same LDAP "transaction"

Prevents duplicate insertion of storageEncryptedSecretKey when
requesting an account recovery with opportunistic encryption enabled.

Add an integration test to cover this scenario.
4 jobs for master in 4 minutes and 41 seconds
Status Job ID Name Coverage
  Build Pkgsrc
passed #9313
build_pkgsrc:stretch

00:00:15

 
  Build Pkg
passed #9314
amd64
build_pkg:stretch:amd64

00:01:44

passed #9315
arm64
build_pkg:stretch:arm64

00:03:44

 
  Upload Pkg
passed #9316
upload_pkg

00:00:39