See the how-to Passthrough Authentication.