OF-1937: Reduce connection timeout for LDAP.
We've found that with a connection timeout of larger than 4 seconds, Spark fails to authenticate against LDAP, when LDAP integration is making use of more than one LDAP server with the first of the two unavailable.
This commit reduces the connection timeout to a value that allows Spark to authenticate. It does not, however, prevent that Openfire operates with degraded performance.
OF-1251: Reduce overzealous CSRF protection.
As this page is embedded on another, resetting the CSRF value causes an error to pop up whenever the CSRF value is used on the page on which this popup is embedded in. The popup should not reset the value.