added unit specs for security modules
added authentication service for security modules.
mocha cleanup
Merge pull request #3 from brucecoddington/feature/updates

Feature/updates