Added check for http status codes 4XX to fix issue with expired links #D...

...ESURA-965