Extract interface for AccessLogger

To make it easier to fake in tests [#63074062]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>