Fixed block handling bugs
Changed bearer to Bearer in Auth header