Agjs 162

- Implemented [AGJS-187](https://issues.jboss.org/browse/AGJS-187?jql=project%20%3D%20AGJS) as well since it is prerequisite for [AGJS162](https://issues.jboss.org/browse/AGJS-162?jql=project%20%3D%20AGJS)
- Some unit tests relating to the Pipeline, have been removed from authentication unit tests. I will open a new JIRA so that we don't forget to add them when jQuery dependency is removed from Pipeline