Adding pattern match for the authentication middleware.
Merge pull request #20 from bbrietzke/mw_auth

Adding pattern match for the authentication middleware.