Currently this method returns an implicit `None` if you pass in invalid value for `auth`.

Would probably be better to ensure that user can only pass in NodeAuthPassword, NodeAuthSsKey and None.