A exception will now throw when a incorrect email or password is given.
Add unit tests.