Infinite redirection loop on bad login

i'm using Membership, but i've got an issue that i don't understand. When an user wants to login, if he makes a mistake instead of having a error message "bad login/bad password", the page enters in an infinite redirection loop stopped by the browser.
I really don't understand where it comes from.
I hope you can help me.