Removed attempt to rendere 401 as json