Merge pull request #179 from akkie/master

Use lazy val to initialize SecureRandom
Refactor authenticators and add HeaderAuthenticator