Add API basic authentication feature and post creation.