Removes obsolete code and comments

2 jobs for use-only-ldap-auth-in-soap in 1 minute and 24 seconds (queued for 5 seconds)