Fix authentication method

Since we match with LOWER() we should also .downcase what we receive
Merge pull request #10 from NuckChorris/patch-1

Fix authentication method