I'm heading up an effort at my current company to write integration (browser) tests. We're using Selenium as our integration testing tool.
Here's the problem: many tests require one to log in as an administrator. But it would be crazy to check into source code an administrator username and password.
Here's a write-up of what was suggested to me