[#7732] make SSLMiddleware generic and usable
[#7732] .ini cleanup
[#7732] (unrelated) prevent empty LDAP login from proceeding