Login from a third-party app redirects to All Files instead of the access permission screen