Fix login timeout bug & standardize FCGI_*Control functions