Moving secret token generation into pre_start_ruby hook

Fixing issue with redmine inaccessibility.
Secret token needs to be generated before starting ruby cartidge.