Fixed bug: debug authentication provider should be disabled in a case if debug authentication is considered disabled