Updated unauthorized error code to be consistent