Ensure that login action is cleared after login hidden