Few fixes.
Fill the ALLOWED_HOSTS variable for new installations.

see #384