Fixed auth error for some servers like twisted. According to rfc 2617 auth scheme token should be case-insensitive.
Merge pull request #764 from bobyrizov/master

Case-insensitive authentication scheme