Fixed error found by simulation regarding USER/PASS
Test server state reset