I have the same problem, I tried with a simple application that just has to do with authentication (a default.aspx, login.aspx and web.config files). It works ok, but when tried with my "real" application, it does not work.
If someone has found the solution to this, plese let me know.