Report API failure with HTTP 500 on authentication error
Merge branch 'master' of github:mdlayher/goat