Raman-Added test for restrict login & fixed defect