Propagate Realm when redirecting, close #2116