Added checks for the existence of authentication headers in the stateless auth components