Modified JWT flow to return 401 and error message.

Added an except block for the JWTError so the angular app would
receive the appropriate status, and redirect to un-authed correctly.
Also added appropriate decorator method around most of the
pertinent endpoints.