fix functional test and login module after jndi change