Added error header for no credentials in decorator