Added UNAUTHORIZED status code (401) and changed FORBIDDEN status code to 403 in rc_factory.  The HTTP specification distinquished between "unauthorized" and "forbidden".  FORBIDDEN was previously set to status code 401 (UNAUTHORIZED).