401 on registration error