fixed login spec