Update to server/capture/imap.rb for new Credential system