fix broken auth