Add test expecting error when missing username with requires_username database