Added category method to generate Authorization header