Fixes #119.

A request with an Authentication header would crash the app if no
authentication class had been provided.