Added helper method for setting generic authorization header