Hi Priyanka,
I'm also still facing this issue, even with URI encoded parameters and correct credentials. Did you manage to fix it?
Kind regards,
Fabian
I have two applications deployed and I missed the resource-ref entry in the web.xml of one of the web applications, but I needed it in both. So it wasn't related to spring at all.Hope that helps someone.