fixing auth connection options