Making community redirects work for session rehydration