allow authenticate result redirect path to start with ~/