Fix authentication in command