Fix authrorization for provider callbacks.
Show flash by debug.