authorization header was not set on imp agent api