[Fpm + FastCgi] Unify privilege dropping code