Updated response code for Agent register process

Changed the response Code to 202 is case of success
and 203 in case of failure as Agent expect it