Add basic auth to application controller