fixed login test