Allow for variable authentication in static page testing in a DRY way

Still fails for youtube id verification for logged-in case...