test login as client and as secretary