Support custom User model in AdminLoginInterfaceSelectorMiddleware.