[#7732] make SSLMiddleware generic and usable
[#7732] factor out SourceForge-specific https scheme middleware
[#7732] .ini cleanup
[#7732] (unrelated) prevent empty LDAP login from proceeding