This is very helpful, thank you!
Do you have example code that I can play with? And yes, I observed new users try to use the Log In form first, get an error message, then hunt arount for a while before finding the Create an Account form. I really think the Create an Account form should be first by default, since people who already have an account are bought in and know immediately that they should be searching for another form, while people who are new may just stop trying to sign up because they get an error.