Fixed bugs in oauth and password checks
OAuth testing ready
Hostname is now configurable