Fix admin authorization bug