added a stil failing test of CommonGateway::authenticate()
began work on authentication of incoming requests
added method to AuthMecanismConfig