I did the same thing to my htc some time ago. Here are the hints I found on the web:
1. Password is remembered on the phone, not checked online - you have to provide the one you had when you registered the phone with google account, not the current one
2. If your phone is rooted - you can unlock it by modifying appriopriate sqlite database (that one worked for me)
Hope that helps, B.