I set up a website to use SqlMembershipProvider as written on this page.
I followed every step. I have the database, I modified the Web.config to use this provider,
Do you have requireSSL="true" in your web.config? I had similar symptoms to you. If you set requireSSL to true, there are some additional considerations.
requireSSL="true"