handle passwords from env consistently, add missing parameters (bnc#899893)

Consistent code to read passwords and keys from
environment variables. Reordering for better
readability. Added missing variables according to
parameter mapping in src/ca_mgm.ycp.