[feature/auth-refactor] Test login() for provider_apache

Provides a test for the login() method for provider_apache.
Appears to be failing due to an issue with the mock phpBB request
class.

PHPBB3-9734