Fixed process env host problem in login