Fix an issue where you can only authorize once