catch auth exceptions