I have created a html form with username and password. Now I to authenticate against JIRA. I send did a POST to url /rest/auth/1/session with username and password. Post is successful. But in the next servlet call, in my java code JiraAuthenticationContext.getLoggedInUser is showing no user is logged in.