change login controller to use proxy for V1