Tweak to login wait behavior

Based on a hunch that the spinnysparkler was disappearing too soon, I changed the _wait_for_refresh to instead wait for the body#dashboard element to be visible, i.e. to wait for the dashboard to be visible before continuing. I haven't gotten any failures to log in with this change, but encourage others to try it out and see if they can break it.