Make initialization optional when using login.