Handle case where http origin url does not have a username in it