Changed LOGIN_URL so that the decorator works.