Fix menu behaviour of login activity.