Fixed login on model test