Switch to the right Unauthorized HTTP error code