Fixes #11428 - External user groups refresh shouldn't be case sensitive
group_list in ldap_fluff returns a list of lowercase LDAP GIDs.When AuthSourceLdap tries to run update_usergroups to refresh the externaluser groups, it will try to match these lowercase gids with external user...
fixes #10509 - add toggle for LDAP usergroup updating
fixes #10493 - disable usergroup sync on login when $login is used
Fixes #10263 - Encrypt LDAP password in db
This commit includes a rake task to encrypt all encryptable resources.A helper function can be used to add more encryption tasks easily.