mock browser for twitter authentication test