Update categories.rb

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