Added response types 401, BAD REQUEST.