When there is no HTTP Referrer, the root path is used as the forward-to URL for successfull OAuth.
Added automatic orphan merging when identifying to an existing user.
Removed deprecated functions