fix: fix handling of originUrl
fix: fix handling of originUrl

Test was failing, because originUrl should be '', instead of null
when not specified.

kvnneff/passwordless-rethinkdbstore,staygrimm/passwordless-rethinkdbstore