Fix BasicAuthAttribute issues