Fix small auth bug