Only log in for the relevant tests