Modify Boolean check to None check

Boolean check is too generic.  If username label was deliberately set to an empty string,
this check would fail.

Added 2 tests for username field label

First test when username field label is not set at all
Second test when username field label is set to empty string