Added test for decodeAuth().

Need to figure out how to test middleware with mock Context and
Handlers.