o [Fix] map 401 error code to appropriate StatusType