Update to server/capture/imap.rb for new Credential system
Land #3616, cred gem for imap from @TomSellers