Fix authorization process