fixed problem with auth_type try a little bit different (#387)