Fix sign up with a Twitter account.

Fixes #1933