Loginscanner rspec

This should unbreak Travis. Related to https://github.com/rapid7/metasploit-framework/pull/4052

When Travis turns green you should land this as soon as possible.