So I actually discovered that CodeIgniter has something in place in the .htaccess to make sure that the authorization header does get passed through but for some reason in my setup that wasn't working. I did find a solution that allows me to not have to use the apache_request_headers() function. I added
Code:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
to my httpd.conf file and that solved the problem. I thought I would post that here in case anyone else runs into this issue and finds this post.