IDENTITY-2821 authentication.framework

Check for empty string