Fix bug with creating users when use non standard port