Load authentication backends before tryBasicAuth

Fixes  #9976