Update categories.rb syntax and required login info

Updated for syntax on api_key and uri.  Added the necessary password of "apikey" for login information.