There is currently a bug in Apple's frameworks for which your cookies in Safari get damaged while passed to 3rd party apps displaying a browser window. That may cause Twitter and Facebook website to behave incorrectly. Please clear your cookies for the website you're trying to login with and try again. Otherwise you can always login directly (and sign up using the sign up button).