Fix for Twitter login component for better error-handling