make exam token non-random
When testing right now it is impossible to reuse previously generated scans on a new instance because the token is randomly generated (without manually editing the database that is). Instead if we generate the token as a hash of the exam name (obviously modified in case of collisions), then we'd be able to reuse scans as long as the exam name is the same.