I'm using https://github.com/simov/grant to add login with Twitter feature, but for some reason twitter is failing to redirect back to my app after it authorises me.
Here's the url I'm providing for rederict:
I have dummy.com alias in my /etc/hosts file pointing to 127.0.0.1 (localhost)
Here's where I end up after twitter authorises me:

If you look at browser address bar you'll notice that my url got corrupted (protocol part is missing) and looks like twitter is trying to find page with such url on twitter web site instead of actually redirecting to my url.
My grant config:
{
"twitter": {
"key": "...",
"secret": "....",
"callback": "/handle_twitter_callback"
}
}
