remote.php: authentication realm from config

fixes #610 
optionally use core config item "instancename" for authentication realm instead of hard-coded string "ownCloud"