cleaner login modal when there is no login button [fixes #638]