refactor(util/user): Refactor persistence check.
refactor(util/user): Refactor persistence check.

opentripplanner/otp-react-redux,opentripplanner/otp-react-redux,opentripplanner/otp-react-redux,opentripplanner/otp-react-redux