move messageFactory feature into parametersBase, move Constants to OAuth class
tweak
clean up credential vars and format logging.