MULE-8127: Fixing missing auth header issue. Adding test case in integra...

...tion tests. Moving matcher to enable easy reuse from other modules.