[#41244423] fix redirection to root when ssl is enabled and user is logged out
enable ssl when specified in chorus.properties regardless of RAILS_ENV
[fixes #41244423] Precompile javascript for import console so that it works in production