Fix mysql rspec
Fix db2 rspec
It's Connection timed out
Use be_a
Land #4056, @wchen-r7's fix for Loginscanner specs