Throw NotAuthorizedException for 401 responses with non-JSON body. SOCIALTW-57