Enable auto-lock in web UI but not tests

Enabling auto-lock in the default SimpleKeyAgent was resulting
in tests setting up a timeout which took two minutes to expire,
resulting in the tests taking at least that long to execute.

This change makes only the web / browser extension UIs auto-lock
after two minutes.