Updated AuthController to support new Client interface