Web Reports Login Delay

While using LDAP authentication, we experience a 23 second delay from the start of hitting “Login” to actually logging into Web Reports. I’ve experienced this delay on all past installations over the years and resolved it by commenting out a line in one of the web config files. Unfortunately I cannot remember what the fix was. Any help would be appreciated.

I have a feeling the file is located somewhere in BES Server\BESReportsServer\wwwroot\JavaScript. Like VerifyCertificate or something. No one else gets a 23 second delay when logging into Web Reports via an LDAP account?