Added unit test for ticket auth in P4 source step.
Add a unit test for ticket auth in P4 poller.