Update door-if.js

Fixed hard-coded path error.
Fixed error with default username and password.