Fix tests about output with no params when login or not

Remove if statement from tests.