Setting up the CHT development build

If the credentials were incorrect, the message you would see is Incorrect user name or password. Please try again. (this is true for recent versions. Which version have you deployed?).
Can you please look up medic-api logs (details about how to get api logs) and find the error there. The problem might be obvious once you see the stack trace, but if it’s not please feel free to share here.