Raising Http404 if not being able to authenticate