Bug 18528: Show error for empty username for providers.

For providers that require a username or similar parameter,
add an error message if they try to submit the form without
entering anything.

Bug 18528
Change-Id: I1ec8d99da9e74966425e4505340205413b37718e