properly catch import error exception in auth backend