Added a test to deal with username coming in as ''. This could come from forms being configured for backwards compatibility #3