add test for fsm/login