Simulate a logged in user to test plugin's pages

When using the test classes provided with the TeamCity server installation in the dev package, how can one simulate a logged in user? In my particular case I'm extending from the BaseServerTestCase and have looked at the login configuration provided in the inherited instance, but I can't find anything useful there.

Please sign in to leave a comment.