Make sure log in is covered by tests