fixing login password check fir test