add login check to FS::ClientAPI::SG/SGNG checks. RT#4610