[copr] master: Make the generate_api_token to some common place, as it is used in more blueprints (again, prevent import headaches) (78524d1)