When you are sure that the name and password are correct, have a look at the logs.
Most likely issue are:
- The user is blocked
- The user is not active
- The user does not have any roles assigned
The details will be in the log and in the UI you will see the message that the password or username is incorrect.