do not use generic Exception
Merge pull request #99 from credativ/fix-generic-login-exception

do not use generic Exception