Need selenium support for tests
Cleanup browser setup

- do not try to run tests if not given credentials
- do not use global defines when not needed

Signed-off-by: Michal Čihař <michal@cihar.com>