Switch login method.