Add Selenium tests for authorisation