Update auth to redirect unauthorized ajax reqs to login