Fix failing testSearchByUsername

Adapted test to change on site