make auth_encryption_key a parameter

Also add tests for heat::engine

Change-Id: Ic84344060eaad006026fb6b66d569efa3d2592e3
Closes-Bug: #1249280
Merge "make auth_encryption_key a parameter"