@shekhar & @pascal,
FYI – if it helps at all, I forked @alexis.duque's mock-id server and dockerized it, so you can spin up a mock multipass server with something like
docker run -d --name mock-id -e REDIRECT_URL=http://atlas/ -p 3000:80 omrs-mock-id
When running, it present's Alexis' simple mock login form. Password is just username again, so any username can be mocked. I haven't tested it, but given this code (except for some minor changes) was working on the staging server, it should work or be close to working.
Anyway, I was planning on putting this code under the mock-id folder of the docker-compose version of openmrs-contrib-atlas.