adjust testLogin so that it will work in an image where GLASS has not bee installed ...