Refactors browser login methods so that fkey-finding soup logic is not repeated