Changed the exception type when user credentials is wrong
Merge pull request #338 from sheebans/master

Changed the exception type when user credentials is wrong