Typo in http unauthorized instead of redirect when request by ajax