fix up of login test (#158)