Close the application when started by clicking an URL once authentication step is complete