fix contest authorization problem