Updated Mantis Basic Authentication Code

I’ve updated my post on Making Mantis with Basic Authentication Not Suck to fix an oversight I discovered in the original version.

Basically, direct links into Mantis would not work, since most of the Mantis pages redirect to the login page when a user has not yet authenticated. The modification was simply to modify the login page to detect basic authentication and redirect to the previously modified login script.