Enhance error handling for errors in authorization information. Generate a "Bad Request" instead of "Internal Server Error".