Refactor login logic into interactive_login method in BugzillaBase