properly 'moduled' sapi token logic.