The problem was that you need to use basic authentication. I guess it is working now Abhay :-)
Otherwise HCPms removes that from the request header and you can't log in.
You can of course use other authentication methods as well depending on your backend setup.
I'll soon write up a blog with the steps needed.
BR
Njål