Fix bad auth param handling in gitfs

Pull #16724 broke how Salt handles invalid auth params. This pull request
reverts #16724 and makes the logging more explicit.