On my machine the redirection to twitter did not work. When I added die after the header location it worked.
Merge pull request #13 from harmjanh/master

Redirect to Twitter when signin doesn't work