fixed qunit adapter. fixed debug flag for authorization.