fix auth js for new work for contest