Fix token replacement in mms-agent recipe and attributes

I noticed that the token replacement that was being done in the settings.py was broken. 
The tokens that need to be replaced were `@API_KEY@`, `@MMS_SERVER` and `@ DEFAULT_REQUIRE_VALID_SERVER_CERTIFICATES@`.

Without these the mms-agent fails to initialize.