tests for loginservlet