fix login selenese to wait until ui is shown