Added Authentication support.