BasicAuthorizer constructor Null safety

BasicAuthorizer()