Fixes #4678: migration script for LDAP authentication parameters