Fix authorization problem