Add support for OWSERVER authentication

https://github.com/openhab/openhab/issues/887

please use "else if" since only one option can be valid at a time