Fix authentication issue