(no-ticket) Fixed oioioi-create-config

Moved safe_redirect, which needs settings, from base.utils
to base.utils.redirect

Change-Id: I264c790008420d44d01f5ac2ba337b98d1cd79f7