Fixing chrome smoke test i.e. waiting for elements on screen before redirecting to access denied screen