Fix Authentication class inheritance