Refactor all UI tests setUp method

Remove unused setUp override.
Convert calls to UI factory to API factory.
Move super setUp call to the bottom to avoid leaving the browser open.
Because tearDown method will not run if setUp raises an exception and
the API factory could raise if server does not behave as expected.
A similar change can probably be made for all of the UI test code. Maybe this could be the subject of a later PR?