Added HTTP basic authentication and controller tests.