Fixing login spec