You're probably trying to make this consistent with `set_login_url()`, but I don't think adding a new method just to deprecate it right away is a good idea.