js integration test for signup, login, logout