fixed reset password bug for aws deployments (context path issue)