Add tests for authentication in User model

Adds the following:
- Test for valid login
- Test for invalid email
- Test for invalid password

Issue: 6