Add Basic access authentication using Martini auth: https://github.com/codegangsta/martini-contrib/tree/master/auth