Fixed an auth bug