Fix url to redirect after getting authenticated.