Fixing login test