Fixing single-view authentication