Add the ability to apply a different duration sampling factor to loggedin users

Change-Id: I10fc042ddf50f02e1a86711621b66c14fc981311
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/978
Merge "Add the ability to apply a different duration sampling factor to loggedin users"