Refactoring Filter to split out header authorization in a separate unit & Updating test