bugfix: ngx.get_phase() does not work in the context of init_worker_by_lua*.