Remove unused username and password configuration parameters from tests.
Add tests for authorization.