Fixed login spec