Four pin connector for electric bicycle battery