Confluence - Fails to work with pre basic auth

view story

http://serverfault.com – I got Confluence running on my box and i got a reverse proxy via Apache. I wanted to add a pre authentication by using Apache's basic auth in . It works perfectly if you are already logged in but if you are going to log in confluence , it thinks provided user and password for confluence login. Is there any way to make Confluence not check basic auth headers for log in? (HowTos)