Patch login_destination to allow for export.