def METHOD_NAME(self):
    """Test that session ids are authenticated."""
    self.database.sessions.find_one.return_value = {
        "session_expiration_datetime": datetime.max.replace(tzinfo=UTC),
    }
    route = bottle.Route(bottle.app(), "/", "POST", self.route, authentication_required=True)
    self.assertEqual((self.database, None), route.call())