Upload with ID ok, but can't upload/login with JOSM

I’m new on OSM editing, and have only used ID before.
Upload of changes is ok.

I installed JOSM tried to upload changes to the server, but my login fail.
Wrong username or password.
I use same username and password as for ID.

What is wrong?