Made authentication automatic on non-interactive mode
Now authentication is automatic in auto-mode