Bug fix
Added possibility for http auth
Merge pull request #459 from Crafter6432/master

Bug fix & Added possibility for http auth