Added handling of authnetication and authorization errors to falcon integration