App Passwords: Improve validation and sanitization of the application name.
Application names are now required to be unique and cannot contain solely whitespace characters. Additionally, invalid characters are now stripped from the application name using sanitize_text_field()
.
Props Boniu91, hellofromTonya, engahmeds3ed, xkon, francina.
Fixes #51941.