Fixing create action in the example controller

:access_key => @xero_client.access_token.key should be :access_key => @xero_client.access_token.secret