As a visitor,
I want to log into the system.
returns the User entity and jwt token.
| AC-1 | Page is available at /auth/login |
|---|---|
| AC-1.1 | Only unauthorised user can see this page |
| AC-2 | Can enter email and password |
| AC-2.1 | Password input is protected by default, but this can be changed with eye icon |
| AC-2.2 | Validate that email and password are not empty |
| AC-2.3 | Browser autocomplete is working |
| AC-3 | Show additional error messages from BE |
| AC-3.1 | If user does not exist |
| AC-3.2 | If credentials are not valid |