Do not flash messages before reloading login/logout page