'WSGI entry point for auth requests (ones that match the
self.auth_prefix).
Wraps env in swob.Request object and passes it down.
:param env: WSGI environment dictionary
:param start_response: WSGI callable'

def handle(self, env, start_response):

    try:
        req = Request(env)
        if self.auth_prefix:
            req.path_info_pop()
        req.bytes_transferred = '-'
        req.client_disconnect = False
        if (('x-storage-token' in req.headers) and ('x-auth-token' not in req.headers)):
            req.headers['x-auth-token'] = req.headers['x-storage-token']
        return self.handle_request(req)(env, start_response)
    except (Exception, Timeout):
        print(('EXCEPTION    IN    handle:    %s:    %s' % (format_exc(), env)))
        self.logger.increment('errors')
        start_response('500    Server    Error', [('Content-Type', 'text/plain')])
        return ['Internal    server    error.\n']
