Added ticket login interval to P4Poller.
Some code cleanup.