fixing login test problems