Loginscanner rspec

This should unbreak Travis. When Travis turns green you should land this as soon as possible.