Fix some errors in creating template

2 jobs from instance-fixes in 1 minute 29 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
passed #1625
flake8

00:19

failed #1626
test

01:10

 
Test test
TypeError: Instance() got an unexpected keyword argument 'owner'

----------------------------------------------------------------------
Ran 5 tests in 0.416s

FAILED (errors=1)
Destroying test database for alias 'default'...
nosetests image instance storage template authorization --verbosity=1
ERROR: Job failed: exit code 1