fixed the redirection URL after login when the application is loaded in the Facebook canvas