Fixed AuthN middleware test
Changed package api to use go-martini