Use === and !== in user_ldap app

Mostly automated.

I can't test this, because I don't know how to LDAP :|

Could someone test this through?

Also see #2979, #2980, #2998, #3006 and #3015

cc @blizzz @bartv2 @DeepDiver1975 @LukasReschke