refactor(actions/user): Extract common code from all methods.
refactor(actions/user): Extract common code from all methods.

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