Incorporates user authentication into tests