Now returns correct HTTP status codes when access is forbidden or unauthorised making an API call #68