fixed a small issue with APIKey did not inherit for _Base