web.config authentication and css

I'm using forms authentication and configurint the authorization to deny anonymous users.
This works fine except that when I view the login.aspx page as an unauthenticated and the images/css are not processed properly.
The problem was created by the following configuration:

Removing these elements everything worked properly.

About author

Vittorio Pavesi