Fixes basic auth to work on all actions except index

https://www.pivotaltracker.com/story/show/66355890