wait for server to start before running selenium test cases

* fixed login-menu test