Thread:Extension talk:LDAP Authentication/LDAP auth works, but cannot get SSO to work/reply

I have a similar problem getting the SSO / AutoLogin feature to work properly, and I assume that the person above is having the same issue. I have tested Kerberos login on my server, and it works fine, setting the REMOTE_USER with the proper username. Manual LDAP authentication works fine. But trying to turn on the Auto Login function immediately causes a HTTP 500 Internal Server error, complaining about "Call to a member function isLoggedIn". I imagine that the order in which this stuff gets invoked is out of whack. Here's my debugging information below.

Versions: PHP 5.3.3, MediaWiki 1.19.2, LDAP Authentication Plugin 2.0d

The Apache log gives this:

If I comment out the lines with "## added for autologin" and re-enable "$wgAuth = new LdapAuthenticationPlugin;" things work just fine. I appreciate this useful extension, and am eager to get the SSO/AutoLogin functionality fixed.