after-auth 'back' button fix