more improvaments to make it work better

i think we are using this already in the jira adapter for when i do authentication