Adds user authentication support for MongoDB plugin based on YAML

- Add *.swp and *.swo to .gitignore (VIM swap files)
- Create test cases for methods on MongoDB plugin supporting authentication