update schema of uestcojtest database.
Merge pull request #178 from pfctgeorge/tests

update schema of uestcojtest database.
Update database model
Update contest entity
Request password when contest type is private
Add contest login system
Fix broken test