Converted HTTP authentication in [wiki:TracStandalone tracd] to WSGI middleware. Also made authentication completely optional: if the option is not provided, a request handler such as one for form-based authentication can still perform the authentication. Closes #3036.